package cn.dankal.flyaudio.contract;

import java.util.List;

import cn.dankal.basiclib.base.BasePresenter;
import cn.dankal.basiclib.base.BaseView;
import cn.dankal.basiclib.pojo.ProductEntity;
import cn.dankal.basiclib.pojo.ShopCarEntity;
import cn.dankal.basiclib.pojo.req.CreateOrderReq;

public interface ShopCarContract {

    interface Presenter extends BasePresenter<View> {
        void getMyShopCar();

        void addProduct(String itemUuid, String count);

        void deleteProduct(String itemUuid, String count);

        void deleteProduct(String uuid);

    }


    interface View extends BaseView {

        void showShopCarList(List<ShopCarEntity> list);

        void showError();

        void deleteSuccess();
    }
}
